//
//  TeacherCallNameConfirmCell.h
//  AttendenceSys
//
//  Created by ld on 16/1/28.
//  Copyright © 2016年 窦芳俊. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SubClassInfo.h"

#define CallNameCellHeight 45
#define CallNameTag 100
#define defaultCallNameSelectTag 10000
#define RGB(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0f]

@protocol TeacherCallNameConfirmCellDelegate <NSObject>

-(void)getIsSelect:(NSInteger)index;

@end

@interface TeacherCallNameConfirmCell : UITableViewCell

@property (nonatomic, strong) UILabel* nameLab;  //学生名字
@property (nonatomic, strong) UIButton* callNameBtn; //学生缺席按钮
@property (nonatomic, strong) UIButton* lateBtn;     //迟到按钮
@property (nonatomic, strong) UIButton* leaveBtn;     //请假按钮
@property (nonatomic, strong) UILabel* callStustatusLab; //学生状态
@property (nonatomic, assign) id<TeacherCallNameConfirmCellDelegate> delegate; //学生缺席按钮代理

-(void)setselectCallName:(NSString*)sType;

@end
